#include <iostream>
#include <regex>
using namespace std;


int main()
{
    string a=R"(gyg"ggh)";
    string b="\"";
    string c=R"(\")";
    string s=regex_replace(a,regex(b),c);
    cout << s;
    return 0;
}
